package com.movitech.mobile.cz.base.sys.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.Version;
import com.movitech.mobile.cz.base.modules.entity.BaseEntity;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * <p>
 * 省市区
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-04-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_area")
@ApiModel
public class SysArea extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;
    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    @TableField("area_name")
    private String areaName;
    /**
     * 编号
     */
    @ApiModelProperty(value = "编号")
    @TableField("area_code")
    private String areaCode;
    /**
     * 是否显示（0：否，1：是）
     */
    @ApiModelProperty(value = "是否显示（0：否，1：是）")
    @TableField("show_flag")
    private Integer showFlag;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    @TableField("area_sort")
    private Integer areaSort;
    @TableField("parent_id")
    private String parentId;


}
